package com.rui.study.micro.userself.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterAccountDTO {

    @NotBlank(message = "不能为空", groups = {
            RegisterAccountGroup.class})
    private String account;

    @NotBlank(message = "不能为空", groups = {
            RegisterAccountGroup.class})
    private String password;

    @NotBlank(message = "不能为空", groups = {
            RegisterAccountGroup.class})
    private String verifyCode;
}
